package com.usian.pay.fegin;

import com.usian.jyzx.model.entity.order.OrderInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @TODO:
 * @Author:baimu
 * @Date:2024 07 17 14 48
 **/
@FeignClient("order-service")
public interface OrderFegin {
    @GetMapping("/api/order/orderInfo/pay/{orderId}")
    public OrderInfo findPayOrderByorderId(@PathVariable("orderId") String orderId);
}
